Postfix is trying to send to example.com

Discussion in 'HOWTO-Related Questions' started by bdpq, Jul 1, 2008.

  1. bdpq

    bdpq New Member

    Hello,

    I need some help with the Postfix configuration.

    After following the step by step instruction on Virtual Hosting Howto With Virtualmin On CentOS 5.1I got the following error from the mail log

    Jul 1 07:01:06 host postfix/smtpd[3661]: connect from yx-out-1718.google.com[74.125.44.153]
    Jul 1 07:01:06 host postfix/smtpd[3661]: NOQUEUE: reject: RCPT from yx-out-1718.google.com[74.125.44.153]: 450 4.1.1 <[email protected]>: Recipient address rejected: unverified address: connect to example.com[208.77.188.166]: Connection timed out; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<yx-out-1718.google.com>
    Jul 1 07:01:06 host postfix/smtpd[3661]: disconnect from yx-out-1718.google.com[74.125.44.153]

    in the main.cf file, there is no attribute says "example.com".. Below the is the portion of the main.cf file

    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    myhostname = host.wxlstudio.com
    mydomain = localhost
    myorigin = $mydomain
    mydestination = $myhostname, localhost.$mydomain, localhost
    mynetworks = 127.0.0.0/8
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    canonical_maps = hash:/etc/postfix/canonical
    sender_canonical_maps = hash:/etc/postfix/canonical
    recipient_canonical_maps = hash:/etc/postfix/canonical
    virtual_alias_maps = hash:/etc/postfix/virtual
    mail_spool_directory = /var/spool/mail

    home_mailbox = Maildir/

    Can anyone help me with this problem?

    I am using Centos with webmin and virtualmin. and yes, I am a newbie :(
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    what is in /etc/postfix/virtual
     
  3. bdpq

    bdpq New Member

    this is what is in the virtual

    [email protected] wxlstudio
    wxlstudio.com wxlstudio.com
    [email protected] [email protected]
    [email protected] [email protected]
    [email protected] [email protected]
    [email protected] [email protected]
    [email protected] admin.wxlstudio

    Nothing really suspicious
     
  4. bdpq

    bdpq New Member

    update

    after removing the following lines from the main.cf file, I somehow made it work.

    However, these lines should be pretty standard, isn't it?

    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_recipient_restrictions =
    permit_mynetworks
    permit_sasl_authenticated
    reject_unauth_destination
    check_recipient_access hash:/etc/postfix/access
    reject_unknown_recipient_domain
    reject_unknown_sender_domain
    #reject_unknown_hostname
    #reject_unknown_client
    reject_unverified_recipient
    #reject_unverified_sender
    reject_non_fqdn_recipient
    reject_non_fqdn_sender
    #reject_non_fqdn_hostname
    reject_invalid_hostname
    reject_rbl_client list.dsbl.org
    reject_rbl_client zen.spamhaus.org
    reject_rbl_client l1.spews.dnsbl.sorbs.net
    reject_rbl_client combined.njabl.org
    reject_rbl_client bl.spamcop.net
    reject_rhsbl_sender dsn.rfc-ignorant.org
    reject_rhsbl_sender bogusmx.rfc-ignorant.org
    reject_rhsbl_sender rhsbl.sorbs.net
    reject_rhsbl_client dsn.rfc-ignorant.org
    reject_rhsbl_client bogusmx.rfc-ignorant.org
    reject_rhsbl_client rhsbl.sorbs.net

    This is really strange
     
  5. bdpq

    bdpq New Member

    update

    For some strange reason, it is working now.

    For the longest time I could not fix it but now it is mysteriously fixed.

    I will post more updates if problem reappears.

    Thanks
     

Share This Page