pw a écrit :
> Hello,
> 
> I am wondering if someone would be so kind as to
> step me through the process of setting up main.cf
> to send all mail via a single user account on a relay host.
> 
> I have a specific account on the relay host that
> I wish to use.
> 
> It appears that the relay host is just bouncing the
> emails due to a "failed 550 Sender verify" error.
> I am not sure if this has to do with the way I have
> set up SASL in main.cf or if there is a DNS problem.
> 
> See below for main.cf and syslog output.
> Thanks for any pointers.
> 
> Pete
> 
> 
> I set up main.cf as follows:
> 
> smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> biff = no
> 
> # appending .domain is the MUA's job.
> append_dot_mydomain = no
> 
> # Uncomment the next line to generate "delayed mail" warnings
> #delay_warning_time = 4h
> 
> readme_directory = no
> 
> # TLS parameters
> smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_use_tls=yes
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> 
> # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
> # information on enabling SSL in the smtp client.
> 
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
> smtp_sasl_type = cyrus
> smtp_sasl_security_options = noanonymous
> 
> myhostname = ocelot

the hostname must be an FQDN.

> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> mydestination = ocelot, localhost.localdomain, localhost
> relayhost = [mail.island.com]
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> 
> /*...................................................................*/
> 
> Output to syslog, on failed email, is as follows:
> 
> Oct 15 08:31:12 ocelot postfix/pickup[12917]: 9705D3EEE54: uid=0
> from=<greg>
> Oct 15 08:31:12 ocelot postfix/cleanup[13343]: 9705D3EEE54:
> message-id=<[EMAIL PROTECTED]>
> Oct 15 08:31:12 ocelot postfix/qmgr[11429]: 9705D3EEE54:
> from=<[EMAIL PROTECTED]>, size=282, nrcpt=1 (queue active)

@ocelot is not valid. you need a real domain here. you can use myorigin
to force a real domain.

> Oct 15 08:31:13 ocelot postfix/smtp[13345]: 9705D3EEE54:
> to=<[EMAIL PROTECTED]>, relay=mail.island.com[xxx.xxx.xxx.xxx]:25,
> delay=1.3, delays=0.07/0.04/0.98/0.18, dsn=5.0.0, status=bounced (host
> mail.island.com[xxx.xxx.xxx.xxx] said: 550-Verification failed for
> <[EMAIL PROTECTED]> 550-DNS lookups for "ocelot" failed 550 Sender verify
> failed (in reply to MAIL FROM command))
> Oct 15 08:31:13 ocelot postfix/cleanup[13343]: E01843EEE59:
> message-id=<[EMAIL PROTECTED]>
> Oct 15 08:31:13 ocelot postfix/qmgr[11429]: E01843EEE59: from=<>,
> size=2177, nrcpt=1 (queue active)
> Oct 15 08:31:13 ocelot postfix/bounce[13346]: 9705D3EEE54: sender
> non-delivery notification: E01843EEE59
> Oct 15 08:31:13 ocelot postfix/qmgr[11429]: 9705D3EEE54: removed
> Oct 15 08:31:14 ocelot postfix/local[13347]: E01843EEE59:
> to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=local, delay=0.09,
> delays=0.01/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to command:
> procmail -a "$EXTENSION")
> Oct 15 08:31:14 ocelot postfix/qmgr[11429]: E01843EEE59: removed
> 

Reply via email to