Hello,
I follow this tutorial :
http://www.howtoforge.com/virtual-us...-ubuntu8.04-p4
But when I want to send a mail like this :
mailx
cedric@web.carnould.com -s HELLOWORD
.
I have these messages in /var/log/mail.log
Jul 25 19:02:59 web postfix/pickup[3659]: 8F9B737FEC: uid=0 from=<root>
Jul 25 19:02:59 web postfix/cleanup[3749]: 8F9B737FEC: message-id=<20080725170259.8F9B737FEC@web.carnould.com>
Jul 25 19:02:59 web postfix/qmgr[3663]: 8F9B737FEC: from=<root@web.carnould.com>, size=299, nrcpt=1 (queue active)
Jul 25 19:03:01 web postfix/smtpd[3754]: connect from localhost[127.0.0.1]
Jul 25 19:03:01 web postfix/smtpd[3754]: 78D1C37FEB: client=localhost[127.0.0.1]
Jul 25 19:03:01 web postfix/cleanup[3749]: 78D1C37FEB: message-id=<20080725170259.8F9B737FEC@web.carnould.com>
Jul 25 19:03:01 web postfix/qmgr[3663]: 78D1C37FEB: from=<root@web.carnould.com>, size=932, nrcpt=1 (queue active)
Jul 25 19:03:01 web postfix/smtpd[3754]: disconnect from localhost[127.0.0.1]
Jul 25 19:03:01 web postfix/smtp[3755]: 78D1C37FEB: to=<cedric@web.carnould.com>, relay=none, delay=0.03, delays=0.01/0.01/0/0, dsn=5.4.6, status=bounced (mail for web.carnould.com loops back to myself)
Jul 25 19:03:01 web postfix/cleanup[3749]: 8422038547: message-id=<20080725170301.8422038547@web.carnould.com>
Jul 25 19:03:01 web postfix/qmgr[3663]: 8422038547: from=<>, size=2801, nrcpt=1 (queue active)
Jul 25 19:03:01 web postfix/bounce[3756]: 78D1C37FEB: sender non-delivery notification: 8422038547
Jul 25 19:03:01 web postfix/qmgr[3663]: 78D1C37FEB: removed
Jul 25 19:03:01 web postfix/smtp[3755]: 8422038547: to=<root@web.carnould.com>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for web.carnould.com loops back to myself)
Jul 25 19:03:01 web postfix/qmgr[3663]: 8422038547: removed
Jul 25 19:03:01 web amavis[3251]: (03251-04) Passed CLEAN, <root@web.carnould.com> -> <cedric@web.carnould.com>, Message-ID: <20080725170259.8F9B737FEC@web.carnould.com>, mail_id: iXeZjZTdDllo, Hits: 2.88, size: 299, queued_as: 78D1C37FEB, 1925 ms
Jul 25 19:03:01 web postfix/smtp[3752]: 8F9B737FEC: to=<cedric@web.carnould.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=0.06/0.01/0.01/1.9, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 78D1C37FEB)
Jul 25 19:03:01 web postfix/qmgr[3663]: 8F9B737FEC: removed
I imagine that the problem could be come from DNS configuration :
web.carnould.com. A - 88.191.46.33
web.carnould.com. MX 10 web.carnould.com.
Or perhaps /etc/postifx/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
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 = /usr/share/doc/postfix
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.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.
myhostname = web.carnould.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = web.carnould.com, localhost, localhost.localdomain
#relayhost =
mynetworks = 127.0.0.0/8, 88.191.46.33/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
Or /etc/hostname :
web.carnould.com
Could you help me please ?
Recent comments
11 hours 29 min ago
11 hours 34 min ago
16 hours 33 min ago
23 hours 14 min ago
1 day 3 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 17 hours ago