Hi, Believe I have followed the 'Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Squeeze)' to the letter. Keep getting a relay acces error when testing. Have posted message and info from config and log file below. Please help as my linus knowledge is non existent and I rely on tutorials like te one I used to configure things. Thanks, Ap PS Have tried solutions / possible errors in syntax mentioned on this and other forums. The original message was received at Tue, 5 Jul 2011 14:01:41 +0200 (CEST) from sailmaster.nl [84.245.31.182] ----- The following addresses had permanent fatal errors ----- <[email protected]> (reason: 554 5.7.1 <[email protected]>: Relay access denied) ----- Transcript of session follows ----- ... while talking to smtp02.vip.nl.: >>> DATA <<< 554 5.7.1 <[email protected]>: Relay access denied 554 5.0.0 Service unavailable (554 5.7.1 <[email protected]>: Relay access denied) <<< 554 5.5.1 Error: no valid recipients This is a snippet froam my /etc/postfix/main.cf myhostname = nubicula.sailmaster.nl alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = localhost, localhost.localdomain relayhost = mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" 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_maildir_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_do$ content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings Snippet form mail.log Jul 5 13:52:32 nubicula imapd: Connection, ip=[::ffff:127.0.0.1] Jul 5 13:52:32 nubicula imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1] Jul 5 13:52:37 nubicula imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=65, sent=332 Jul 5 13:52:51 nubicula imapd: Connection, ip=[::ffff:127.0.0.1] Jul 5 13:52:51 nubicula imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1] Jul 5 13:52:56 nubicula imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=64, sent=332 Jul 5 13:56:55 nubicula postfix/pickup[1922]: B6040A683B: uid=1000 from=<anders> Jul 5 13:56:55 nubicula postfix/cleanup[1983]: B6040A683B: message-id=<[email protected]> Jul 5 13:56:56 nubicula postfix/qmgr[1923]: B6040A683B: from=<[email protected]>, size=377, nrcpt=1 (queue active) Jul 5 13:57:15 nubicula postfix/smtpd[1991]: connect from localhost.localdomain[127.0.0.1] Jul 5 13:57:16 nubicula postfix/smtpd[1991]: 23AC3A683A: client=localhost.localdomain[127.0.0.1] Jul 5 13:57:16 nubicula postfix/cleanup[1983]: 23AC3A683A: message-id=<[email protected]> Jul 5 13:57:16 nubicula postfix/qmgr[1923]: 23AC3A683A: from=<[email protected]>, size=873, nrcpt=1 (queue active) Jul 5 13:57:16 nubicula amavis[1696]: (01696-01) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <20110705115655.B6040A683B@nubicula.$ Jul 5 13:57:16 nubicula postfix/smtp[1986]: B6040A683B: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=21, delays=0.53/0.1/2.4/18, dsn=2.0.0, status=s$ Jul 5 13:57:16 nubicula postfix/qmgr[1923]: B6040A683B: removed Jul 5 13:57:17 nubicula postfix/smtp[1996]: 23AC3A683A: to=<[email protected]>, relay=none, delay=0.51, delays=0.27/0.2/0.05/0, dsn=5.4.4, status=bounced (Host or doma$ Jul 5 13:57:17 nubicula postfix/cleanup[1983]: 2A441A683B: message-id=<[email protected]> Jul 5 13:57:17 nubicula postfix/qmgr[1923]: 2A441A683B: from=<>, size=2982, nrcpt=1 (queue active) Jul 5 13:57:17 nubicula postfix/bounce[1997]: 23AC3A683A: sender non-delivery notification: 2A441A683B Jul 5 13:57:17 nubicula postfix/qmgr[1923]: 23AC3A683A: removed Jul 5 13:57:17 nubicula postfix/local[1998]: 2A441A683B: to=<[email protected]>, relay=local, delay=0.33, delays=0.02/0.13/0/0.19, dsn=2.0.0, status=sent (delivere$ Jul 5 13:57:17 nubicula postfix/qmgr[1923]: 2A441A683B: removed Jul 5 13:57:19 nubicula imapd: Connection, ip=[::ffff:127.0.0.1] Jul 5 13:57:19 nubicula imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1] Jul 5 13:57:24 nubicula imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=64, sent=332 Jul 5 14:02:07 nubicula postfix/master[1908]: terminating on signal 15 Jul 5 14:02:10 nubicula postfix/master[2106]: daemon started -- version 2.7.1, configuration /etc/postfix Jul 5 14:02:32 nubicula postfix/pickup[2112]: B0124A683E: uid=0 from=<root> Jul 5 14:02:32 nubicula postfix/cleanup[2117]: B0124A683E: message-id=<[email protected]> Jul 5 14:02:32 nubicula postfix/qmgr[2113]: B0124A683E: from=<[email protected]>, size=363, nrcpt=1 (queue active) Jul 5 14:02:39 nubicula postfix/smtpd[2125]: connect from localhost.localdomain[127.0.0.1] Jul 5 14:02:39 nubicula postfix/smtpd[2125]: D8DFFA683B: client=localhost.localdomain[127.0.0.1] Jul 5 14:02:39 nubicula postfix/cleanup[2117]: D8DFFA683B: message-id=<[email protected]> Jul 5 14:02:39 nubicula postfix/qmgr[2113]: D8DFFA683B: from=<[email protected]>, size=861, nrcpt=1 (queue active) Jul 5 14:02:39 nubicula amavis[1697]: (01697-01) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]$ Jul 5 14:02:39 nubicula postfix/smtp[2120]: B0124A683E: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.5, delays=0.36/0.04/0.43/6.6, dsn=2.0.0, sta$ Jul 5 14:02:39 nubicula postfix/qmgr[2113]: B0124A683E: removed Jul 5 14:02:40 nubicula postfix/virtual[2127]: D8DFFA683B: to=<[email protected]>, relay=virtual, delay=0.25, delays=0.04/0.08/0/0.14, dsn=2.0.0, status=sent (deliver$ Jul 5 14:02:40 nubicula postfix/qmgr[2113]: D8DFFA683B: removed
Your postfix configuration doesn't look complete. You should read the documentation to understand the different parameters. But anyway, I suggest you uninstall everything and start using Google Apps for your email needs instead!
Does the email [email protected] exist in your database? Did you enable "Server requires authentication" in your email client?