Having problem with postfix relay having this... Sep 26 17:49:35 mail postfix/smtpd[17431]: connect from smtp.sprintpcs.com[68.28.27.84] Sep 26 17:49:35 mail postfix/smtpd[17431]: NOQUEUE: reject: RCPT from smtp.sprintpcs.com[68.28.27.84]: 450 4.1.1 <[email protected]>: Recipient address rejected: undeliverable address: mail for alvaroberriocaratt.com loops back to myself; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mta01.smtp.sprintpcs.com> Sep 26 17:49:35 mail postfix/cleanup[17437]: 638D213E09: message-id=<[email protected]> Sep 26 17:49:35 mail postfix/smtpd[17431]: disconnect from smtp.sprintpcs.com[68.28.27.84] Sep 26 17:49:35 mail postfix/qmgr[16991]: 638D213E09: from=<[email protected]>, size=270, nrcpt=1 (queue active) Sep 26 17:49:35 mail postfix/smtp[17439]: 638D213E09: to=<[email protected]>, relay=none, delay=0.21, delays=0.08/0.04/0.09/0, dsn=5.4.6, status=undeliverable (mail for alvaroberriocaratt.com loops back to myself) Sep 26 17:49:35 mail postfix/qmgr[16991]: 638D213E09: removed and this is my main,cf inet_protocols = all biff = no mail_spool_directory = /var/mail canonical_maps = hash:/etc/postfix/canonical relocated_maps = hash:/etc/postfix/relocated transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical masquerade_exceptions = root masquerade_classes = envelope_sender, header_sender, header_recipient program_directory = /usr/lib/postfix masquerade_domains = defer_transports = disable_dns_lookups = no relayhost = mailbox_command = mailbox_transport = strict_8bitmime = no disable_mime_output_conversion = no strict_rfc821_envelopes = no alias_maps = hash:/etc/aliases hash:/var/lib/mailman/data/aliases mailbox_size_limit = 0 message_size_limit = 10240000 relay_domains = mysql:$config_directory/mysql_relay_domains_maps.cf mydestination = localhost.$mydomain, localhost, $myhostname content_filter=smtp-amavis:[127.0.0.1]:10024 # Virtual mailbox settings virtual_mailbox_domains = mysql:$config_directory/mysql_virtual_domains_maps.cf virtual_mailbox_base = /var/vmail virtual_mailbox_maps = mysql:$config_directory/mysql_virtual_mailbox_maps.cf hash:/var/lib/mailman/data/virtual-mailman virtual_alias_maps = mysql:$config_directory/mysql_virtual_alias_maps.cf hash:/var/lib/mailman/data/virtual-mailman virtual_alias_domains = hash:/etc/postfix/virtual virtual_mailbox_limit_maps = mysql_virtual_mailbox_limit_maps.cf virtual_minimum_uid = 150 virtual_uid_maps = static:150 virtual_gid_maps = static:8 virtual_transport = virtual dovecot_destination_recipient_limit = 1 # SASL Authentication smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_client_restrictions = smtpd_helo_required = yes smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated permit_tls_clientcerts reject_unauth_destination reject_invalid_helo_hostname warn_if_reject reject_non_fqdn_helo_hostname warn_if_reject reject_unknown_helo_hostname warn_if_reject reject_unknown_client reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain warn_if_reject reject_unverified_sender reject_unverified_recipient reject_rbl_client cbl.abuseat.org reject_rbl_client list.dsbl.org reject_rbl_client opm.blitzed.org reject_rbl_client sbl.spamhaus.org reject_rbl_client bl.spamcop.net reject_rbl_client dnsbl.sorbs.net=127.0.0.2 reject_rbl_client dnsbl.sorbs.net=127.0.0.3 reject_rbl_client dnsbl.sorbs.net=127.0.0.4 reject_rbl_client dnsbl.sorbs.net=127.0.0.5 reject_rbl_client dnsbl.sorbs.net=127.0.0.7 reject_rbl_client dnsbl.sorbs.net=127.0.0.9 reject_rbl_client dnsbl.sorbs.net=127.0.0.11 reject_rbl_client dnsbl.sorbs.net=127.0.0.12 warn_if_reject reject_rhsbl_sender dsn.rfc-ignorant.org warn_if_reject reject_rhsbl_sender abuse.rfc-ignorant.org warn_if_reject reject_rhsbl_sender whois.rfc-ignorant.org warn_if_reject reject_rhsbl_sender bogusmx.rfc-ignorant.org warn_if_reject reject_rhsbl_sender postmaster.rfc-ignorant.org permit smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit smtp_sasl_auth_enable = no smtpd_use_tls = yes smtp_use_tls = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth any ideas. Best regards AL
Please add alvaroberriocaratt.com to the mydestination line in /etc/postfix/main.cf and restart Postfix.
Thx these did it, now need to add my domain table to the configuration of all domains on this server. but having another problem according with the log messages are delivery but not able to retrieve with outlook not with list command, 0 messages, look at the var/vmail/ and folders are there bu empty, any suggestion. Best regards AL
Thx, I found out that mail was delivery to a local user, when rename local user I am getting a different error..... 9 13:31:35 mail postfix/local[12469]: 98D5413EFD: to=<[email protected]>, relay=local, delay=0.14, delays=0.07/0.01/0/0.06, dsn=5.1.1, status=bounced (unknown user: "aberrio") Sep 29 13:31:35 mail postfix/qmgr[12324]: 98D5413EFD: removed here is the netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:imaps *:* LISTEN 5531/dovecot tcp 0 0 *op3s *:* LISTEN 5531/dovecot tcp 0 0 localhost:10024 *:* LISTEN 3255/amavisd (maste tcp 0 0 localhost:10025 *:* LISTEN 12322/master tcp 0 0 *:mysql *:* LISTEN 2905/mysqld tcp 0 0 *op3 *:* LISTEN 5531/dovecot tcp 0 0 localhost:dyna-access *:* LISTEN 2558/clamd tcp 0 0 *:imap *:* LISTEN 5531/dovecot tcp 0 0 *:sunrpc *:* LISTEN 2411/portmap tcp 0 0 *:ndmp *:* LISTEN 3102/perl tcp 0 0 localhost:novell-zen *:* LISTEN 2894/zmd tcp 0 0 mail.tchosting.n:domain *:* LISTEN 20104/named tcp 0 0 localhost:domain *:* LISTEN 20104/named tcp 0 0 *:ftp *:* LISTEN 3081/proftpd: (acce tcp 0 0 localhost:ipp *:* LISTEN 2921/cupsd tcp 0 0 localhost:smtp *:* LISTEN 12322/master tcp 0 0 mail.tchosting.net:smtp *:* LISTEN 12322/master tcp 0 0 localhost:953 *:* LISTEN 20104/named tcp 0 0 *:www-http *:* LISTEN 3798/httpd2-prefork tcp 0 0 *:domain *:* LISTEN 20104/named tcp 0 0 *:ssh *:* LISTEN 3087/sshd tcp 0 0 localhost:ipp *:* LISTEN 2921/cupsd tcp 0 0 localhost:smtp *:* LISTEN 12322/master tcp 0 0 localhost:953 *:* LISTEN 20104/named tcp 0 0 *:https *:* LISTEN 3798/httpd2-prefork tcp 0 3704 mail.tchosting.net:ssh 12.173.5.11%30858:27023 ESTABLISHED 12099/0 any ideas on this Best regards AL
You're using Dovecot as POP3 server which uses Maildir, not mbox, so you must configure Postfix to deliver mails to Maildir: Code: postconf -e 'home_mailbox = Maildir/' postconf -e 'mailbox_command =' /etc/init.d/postfix restart
Thx for your replay I had changed as your req but no luck ere is the error log. I try from another email server this time. Sep 30 15:46:09 mail postfix/smtpd[27908]: NOQUEUE: reject: RCPT from smtp.sprintpcs.com[68.28.27.84]: 450 4.1.1 <[email protected]>: Recipient address rejected: undeliverable address: unknown user: "aberrio"; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mta01.smtp.sprintpcs.com> Sep 30 15:46:09 mail postfix/smtpd[27908]: disconnect from smtp.sprintpcs.com[68.28.27.84] Sep 30 15:49:29 mail postfix/anvil[27875]: statistics: max connection rate 1/60s for (smtp:70.86.38.190) at Sep 30 15:43:31 Sep 30 15:49:29 mail postfix/anvil[27875]: statistics: max connection count 1 for (smtp:70.86.38.190) at Sep 30 15:43:31 Sep 30 15:49:29 mail postfix/anvil[27875]: statistics: max cache size 1 at Sep 30 15:43:31 this is my new main,cf after tail your req .... home_mailbox = Maildir/ alias_maps = alias_database = ...... Best reagrds AL
How do you create your email accounts (you must create one for [email protected])? If you do it manually, take a look at http://www.howtoforge.com/forums/showthread.php?t=2
this is a complete main.cf file... daemon_directory = /usr/lib/postfix mail_owner = postfix myhostname = mail.tchosting.net mydomain = tchosting.net inet_interfaces = $myhostname, localhost unknown_local_recipient_reject_code = 550 mynetworks_style = host mynetworks = 68.15.207.144/28, 127.0.0.0/8 alias_maps = alias_database = recipient_delimiter = + home_mailbox = Maildir/ mailbox_command = ' smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = maildrop html_directory = /usr/share/doc/packages/postfix/html manpage_directory = /usr/share/man sample_directory = /usr/share/doc/packages/postfix/samples readme_directory = /usr/share/doc/packages/postfix/README_FILES queue_directory = /var/spool/postfix command_directory = /usr/sbin inet_protocols = all biff = no mail_spool_directory = /var/mail canonical_maps = hash:/etc/postfix/canonical relocated_maps = hash:/etc/postfix/relocated transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical masquerade_exceptions = root masquerade_classes = envelope_sender, header_sender, header_recipient program_directory = /usr/lib/postfix masquerade_domains = defer_transports = disable_dns_lookups = no relayhost = mailbox_command = mailbox_transport = strict_8bitmime = no disable_mime_output_conversion = no strict_rfc821_envelopes = no mailbox_size_limit = 0 message_size_limit = 10240000 relay_domains = mysql:$config_directory/mysql_relay_domains_maps.cf mydestination = mysql:$config_directory/mysql_relay_domains_maps.cf content_filter=smtp-amavis:[127.0.0.1]:10024 # Virtual mailbox settings virtual_mailbox_base = /var/vmail virtual_mailbox_domains = mysql:$config_directory/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:$config_directory/mysql_virtual_mailbox_maps.cf hash:/var/lib/mailman/data/virtual-mailman virtual_alias_maps = mysql:$config_directory/mysql_virtual_alias_maps.cf hash:/var/lib/mailman/data/virtual-mailman virtual_mailbox_limit_maps = 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_mailbox_limit_override = yes virtual_minimum_uid = 150 virtual_uid_maps = static:150 virtual_gid_maps = static:8 virtual_transport = dovecot dovecot_destination_recipient_limit = 1 # SASL Authentication smtpd_sender_restrictions = hash:/etc/postfix/access, reject_unknown_sender_domain smtpd_client_restrictions = smtpd_helo_required = yes smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated permit_tls_clientcerts reject_unauth_destination reject_invalid_helo_hostname warn_if_reject reject_non_fqdn_helo_hostname warn_if_reject reject_unknown_helo_hostname warn_if_reject reject_unknown_client reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain warn_if_reject reject_unverified_sender reject_unverified_recipient reject_rbl_client cbl.abuseat.org reject_rbl_client list.dsbl.org reject_rbl_client opm.blitzed.org reject_rbl_client sbl.spamhaus.org reject_rbl_client bl.spamcop.net reject_rbl_client dnsbl.sorbs.net=127.0.0.2 reject_rbl_client dnsbl.sorbs.net=127.0.0.3 reject_rbl_client dnsbl.sorbs.net=127.0.0.4 reject_rbl_client dnsbl.sorbs.net=127.0.0.5 reject_rbl_client dnsbl.sorbs.net=127.0.0.7 reject_rbl_client dnsbl.sorbs.net=127.0.0.9 reject_rbl_client dnsbl.sorbs.net=127.0.0.11 reject_rbl_client dnsbl.sorbs.net=127.0.0.12 warn_if_reject reject_rhsbl_sender dsn.rfc-ignorant.org warn_if_reject reject_rhsbl_sender abuse.rfc-ignorant.org warn_if_reject reject_rhsbl_sender whois.rfc-ignorant.org warn_if_reject reject_rhsbl_sender bogusmx.rfc-ignorant.org warn_if_reject reject_rhsbl_sender postmaster.rfc-ignorant.org permit smtpd_data_restrictions = reject_unauth_pipelining, reject_multi_recipient_bounce, permit smtp_sasl_auth_enable = no smtpd_use_tls = yes smtp_use_tls = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth
Thx all your support. I fix the issues, update my box star from scrach so far good able to send to user mail box, but I am having another problem. will create a new post, this is almost thre pages now Thx