Postfix(Ubuntu) error
joel
joel at gacosta.net
Tue Jul 18 14:39:26 UTC 2006
Hello All,
I installed Postfix 2.2.10 on Ubuntu 6 with Clamav+MySQL+SpamAssasin using
virtual domains and users but I'm having the errors below. Any ideas on
these problems? I tested my port 10024 and 10025 and both are working...
=======mail.log error
Jul 18 22:11:26 mail2 postfix/qmgr[6681]: DEBCF4E03D2:
to=<joel at mydomain.com>, relay=none, delay=315534, status=deferred (delivery
temporarily suspended: transport is unavailable)
Jul 18 22:11:46 mail2 postfix/qmgr[6681]: warning: connect to transport
smtp-amavis: No such file or directory
Jul 18 22:12:46 mail2 postfix/qmgr[6681]: warning: connect to transport
smtp-amavis: No such file or directory
======telnet to port 10024
# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
======telnet to port 10025
# telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail2.mydomain.com ESMTP Postfix (Ubuntu)
Please see my main.cf and master.cf below.
====main.cf
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
debug_peer_list = 127.0.0.1
delay_warning_time = 4h
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = mail2.mydomain.com, localhost.mydomain.com, , localhost
myhostname = mail2.mydomain.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,
reject_unauth_pipelining,reject_non_fqdn_recipient, check_policy_service
inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
virtual_gid_maps = mysql:/etc/postfix/mysql_gid.cf
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
virtual_uid_maps = mysql:/etc/postfix/mysql_uid.cf
====master.cf
smtp inet n - - - - smtpd
-o cleanup_service_name=pre-cleanup
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
-o mime_header_checks= -o nested_header_checks=
-o body_checks= -o header_checks=
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes
127.0.0.1:10025
127.0.0.1:10025 inet n - - - 0 smtpd
-o content_filter= -o local_recipient_maps=
-o relay_recipient_maps= -o smtpd_restriction_classes=
-o smtpd_client_restrictions= -o smtpd_helo_restrictions=
-o smtpd_sender_restrictions= -o
smtpd_recipient_restrictions=permit_mynetworks,reject
-o strict_rfc821_envelopes=yes -o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1001
pre-cleanup unix n - - - 0 cleanup
-o virtual_alias_maps= -o canonical_maps=
-o sender_canonical_maps= -o recipient_canonical_maps=
-o masquerade_domains=
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
$recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
Thanks,
joel
More information about the ubuntu-users
mailing list