The first postgrey error is probably related to this?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630353
Solution:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630353#15
Thanks. The postgrey error was fixed by the bugfix.
However how do I go about fixing the bounce due to unknown user issue?
Latest log:
Code
- #cat /var/log/mail.infoMay 25 08:35:50 hermes authdaemond: modules="authuserdb authpam", daemons=5May 25 08:35:50 hermes authdaemond: Installing libauthuserdbMay 25 08:35:50 hermes authdaemond: Installation complete: authuserdbMay 25 08:35:50 hermes authdaemond: Installing libauthpamMay 25 08:35:50 hermes authdaemond: Installation complete: authpamMay 25 08:35:50 hermes postfix/policyd-weight[676]: policyd-weight 0.1.15 devel-1 started and daemonized. conf:/etc/policyd-weight.conf; GID:110 110 EGID:110 110 UID:106 EUID:106; taint mode: 1May 25 08:35:50 hermes postfix/policyd-weight[676]: warning: cache_query: $csock couln't be created: connect: No such file or directory, calling spawn_cache()May 25 08:35:50 hermes postfix/policyd-weight[678]: cache spawnedMay 25 08:35:50 hermes postgrey[677]: Process BackgroundedMay 25 08:35:50 hermes postgrey[677]: 2013/05/25-08:35:50 postgrey (type Net::Server::Multiplex) starting! pid(677)May 25 08:35:50 hermes postgrey[677]: Binding to TCP port 10023 on host localhost#012May 25 08:35:50 hermes postgrey[677]: Setting gid to "111 111"May 25 08:35:50 hermes postgrey[677]: Setting uid to "107"May 25 08:35:51 hermes postfix/master[936]: daemon started -- version 2.7.1, configuration /etc/postfixMay 25 08:36:50 hermes postfix/pickup[942]: C52344041803: uid=0 from=<root>May 25 08:36:50 hermes postfix/cleanup[1481]: C52344041803: message-id=<20130525030650.C52344041803@hermes.joel.co.in>May 25 08:36:50 hermes postfix/qmgr[943]: C52344041803: from=<root@hermes.joel.co.in>, size=457, nrcpt=1 (queue active)May 25 08:36:50 hermes postfix/virtual[1483]: C52344041803: to=<joel@eyrie.in>, relay=virtual, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "joel@eyrie.in")May 25 08:36:50 hermes postfix/cleanup[1481]: C9C414041809: message-id=<20130525030650.C9C414041809@hermes.joel.co.in>May 25 08:36:50 hermes postfix/qmgr[943]: C9C414041809: from=<>, size=2218, nrcpt=1 (queue active)May 25 08:36:50 hermes postfix/bounce[1484]: C52344041803: sender non-delivery notification: C9C414041809May 25 08:36:50 hermes postfix/qmgr[943]: C52344041803: removedMay 25 08:36:50 hermes postfix/local[1485]: C9C414041809: to=<root@hermes.joel.co.in>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")May 25 08:36:50 hermes postfix/qmgr[943]: C9C414041809: removed
Some more details of my config:
Code
- #postconf -n
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- append_at_myorigin = yes
- append_dot_mydomain = no
- biff = no
- broken_sasl_auth_clients = yes
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/lib/postfix
- inet_interfaces = all
- inet_protocols = ipv4, ipv6
- local_destination_recipient_limit = 1
- local_recipient_maps = unix:passwd.byname $alias_database
- local_transport = local
- mail_spool_directory = /var/mail
- mailbox_command = procmail -a "$EXTENSION"
- mailbox_size_limit = 0
- message_size_limit = 0
- mydestination = $myhostname, $mydomain
- mydomain = hermes.joel.co.in.local
- myhostname = hermes.joel.co.in
- mynetworks_style = host
- myorigin = $myhostname
- recipient_delimiter = +
- relay_domains = hash:/etc/postfix/imscp/relay_domains
- setgid_group = postdrop
- smtpd_banner = $myhostname ESMTP i-MSCP Git Master Managed
- smtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining
- smtpd_helo_required = yes
- smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
- smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_mynetworks, permit_sasl_authenticated, check_policy_service inet:127.0.0.1:12525, check_policy_service inet:127.0.0.1:10023, permit
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sasl_security_options = noanonymous
- smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
- transport_maps = hash:/etc/postfix/imscp/transport
- virtual_alias_maps = hash:/etc/postfix/imscp/aliases
- virtual_gid_maps = static:8
- virtual_mailbox_base = /var/mail/virtual
- virtual_mailbox_domains = hash:/etc/postfix/imscp/domains
- virtual_mailbox_limit = 0
- virtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxes
- virtual_minimum_uid = 999
- virtual_uid_maps = static:999