Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 562
  • Last Modified:

Postfix sends email one way and recieves in another

I send out email using the correct email address as follow... test@xxx.com . However, I can only recieve email as testt@123.xxx.com.  I want to be able to send and recieve emails with the same naming space. Example... send out as test@xxx.com and recieve as test@xxx.com. I have attached the main.cf file to this request and thank you in advance for any help you can provide.
main.txt
0
heyessteady
Asked:
heyessteady
  • 4
  • 3
2 Solutions
 
nuke3ddCommented:
What happens if you try to receive mail at xxx.com? Can't you log in or are the mails to such an address bounced? If so, what does the bounde message say? Are the MX entries for xxx.com correct?
0
 
heyessteadyAuthor Commented:
Hi Nuke... the MX entries is mantis.techmedia.us  . I can authenticate on my internal network using outlook 2003 and send email test@xxx.com via outlook to my hotmail account. However, when i reply to test@xxx.com i dont recieve email. I only recieve email when I use the full fqdn name test@123.xxx.com. Did you review the main.cf file attached to this post? Thanks for your repsonse.
0
 
nuke3ddCommented:
I can't see anything bviously wrong in the main.cf. Are the virtual/alias/relay maps filled out correctly? What happens in /var/log/mail.info when you send a mail from hotmail to test@xxx.com?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
heyessteadyAuthor Commented:
Nuke what is my virtual relay maps suppose to say?
tail /var/log/mail gave me the following when I use mutt to send out email.

Jan  7 16:54:26 mantis postfix/smtpd[24658]: lost connection after RCPT from unknown[200.84.199.190]
Jan  7 16:54:26 mantis postfix/smtpd[24658]: disconnect from unknown[200.84.199.190]
Jan  7 16:55:39 mantis postfix/smtpd[24658]: connect from mail.vevon.nl[77.60.58.27]
Jan  7 16:55:40 mantis postfix/smtpd[24658]: NOQUEUE: reject: RCPT from mail.vevon.nl[77.60.58.27]: 554 5.7.1 <sales@techmedia.us>: Relay access denied; from=<ihyebigu2829@vevon.nl> to=<sales@techmedia.us> proto=ESMTP helo=<vevon.nl>
Jan  7 16:55:40 mantis postfix/smtpd[24658]: disconnect from mail.vevon.nl[77.60.58.27]
Jan  7 16:58:35 mantis postfix/pickup[24278]: 1C1C715EC: uid=0 from=<root>
Jan  7 16:58:35 mantis postfix/cleanup[24731]: 1C1C715EC: message-id=<20100107215834.GA24724@mantis.techmedia.us>
Jan  7 16:58:35 mantis postfix/qmgr[2428]: 1C1C715EC: from=<root@techmedia.us>, size=435, nrcpt=1 (queue active)
Jan  7 16:58:36 mantis postfix/smtp[24734]: 1C1C715EC: to=<hreyes1037@hotmail.com>, relay=mx2.hotmail.com[65.55.37.104]:25, delay=1.1, delays=0.13/0.02/0.71/0.19, dsn=2.0.0, status=sent (250  <20100107215834.GA24724@mantis.techmedia.us> Queued mail for delivery)
Jan  7 16:58:36 mantis postfix/qmgr[2428]: 1C1C715EC: removed
0
 
heyessteadyAuthor Commented:
Virtual Relay output using postconf
Virtual Relay
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_expansion_limit = 1000
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_recursion_limit = 1000
virtual_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
virtual_destination_concurrency_limit = $default_destination_concurrency_limit
virtual_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
virtual_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
virtual_destination_rate_delay = $default_destination_rate_delay
virtual_destination_recipient_limit = $default_destination_recipient_limit
virtual_gid_maps =
virtual_initial_destination_concurrency = $initial_destination_concurrency
virtual_mailbox_base =
virtual_mailbox_domains = $virtual_mailbox_maps
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_inbox = no
virtual_mailbox_limit_maps =
virtual_mailbox_limit_override = no
virtual_mailbox_lock = fcntl, dotlock
virtual_mailbox_maps =
virtual_maildir_extended = no
virtual_maildir_filter = no
virtual_maildir_filter_maps =
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_maildir_limit_message_maps =
virtual_maildir_suffix =
virtual_minimum_uid = 100
virtual_overquota_bounce = no
virtual_transport = virtual
virtual_trash_count = no
virtual_trash_name = .Trash
virtual_uid_maps =
0
 
nuke3ddCommented:
Somewhere you have to have the definition of all the valid mail accounts and how they are mapped to the different domains (you have two domains, so you need virtual mailmboxes).

The first lines from the mail.log suggest that you are trying to send an email from vevon.nl by using the techmedia.us server as smtp (and without authenticating). Make sure you use the vevon smtp when sending from the vevon address.
0
 
heyessteadyAuthor Commented:
Nuke I basically want to send and receive with test@xxx.con ... are my configurations correct? I am still sending and receiving test@xxx.xxx.com
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now