#1  
Old 5th July 2011, 15:46
laser144 laser144 is offline
Member
 
Join Date: Apr 2006
Posts: 31
Thanks: 1
Thanked 0 Times in 0 Posts
Default Virtual users & domains problem

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 -----
<a.nielsen@andersdenkend.eu>
(reason: 554 5.7.1 <a.nielsen@andersdenkend.eu>: Relay access denied)

----- Transcript of session follows -----
... while talking to smtp02.vip.nl.:
>>> DATA
<<< 554 5.7.1 <a.nielsen@andersdenkend.eu>: Relay access denied
554 5.0.0 Service unavailable (554 5.7.1 <a.nielsen@andersdenkend.eu>: 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, user=a.nielsen@andersdenkend.nl, 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, user=a.nielsen@anderdenkend.eu, 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=<20110705115655.B6040A683B@nubicula.sailmaster. nl>
Jul 5 13:56:56 nubicula postfix/qmgr[1923]: B6040A683B: from=<anders@nubicula.sailmaster.nl>, 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=<20110705115655.B6040A683B@nubicula.sailmaster. nl>
Jul 5 13:57:16 nubicula postfix/qmgr[1923]: 23AC3A683A: from=<anders@nubicula.sailmaster.nl>, size=873, nrcpt=1 (queue active)
Jul 5 13:57:16 nubicula amavis[1696]: (01696-01) Passed CLEAN, <anders@nubicula.sailmaster.nl> -> <a.nielsen@andersenkend.eu>, Message-ID: <20110705115655.B6040A683B@nubicula.$
Jul 5 13:57:16 nubicula postfix/smtp[1986]: B6040A683B: to=<a.nielsen@andersenkend.eu>, 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=<a.nielsen@andersenkend.eu>, 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=<20110705115717.2A441A683B@nubicula.sailmaster. nl>
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=<anders@nubicula.sailmaster.nl>, 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, user=a.nielsen@anderdenkend.eu, 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=<20110705120232.B0124A683E@nubicula.sailmaster. nl>
Jul 5 14:02:32 nubicula postfix/qmgr[2113]: B0124A683E: from=<root@nubicula.sailmaster.nl>, 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=<20110705120232.B0124A683E@nubicula.sailmaster. nl>
Jul 5 14:02:39 nubicula postfix/qmgr[2113]: D8DFFA683B: from=<root@nubicula.sailmaster.nl>, size=861, nrcpt=1 (queue active)
Jul 5 14:02:39 nubicula amavis[1697]: (01697-01) Passed CLEAN, <root@nubicula.sailmaster.nl> -> <a.nielsen@andersdenkend.eu>, Message-ID: <20110705120232.B0124A683E@nubicula.s$
Jul 5 14:02:39 nubicula postfix/smtp[2120]: B0124A683E: to=<a.nielsen@andersdenkend.eu>, 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=<a.nielsen@andersdenkend.eu>, 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

Last edited by laser144; 5th July 2011 at 18:10. Reason: omission
Reply With Quote
Sponsored Links
  #2  
Old 6th July 2011, 21:51
Jawshh Jawshh is offline
Junior Member
 
Join Date: Jul 2010
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default

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!
Reply With Quote
  #3  
Old 7th July 2011, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Does the email a.nielsen@andersdenkend.eu exist in your database?

Did you enable "Server requires authentication" in your email client?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users and Domains howto and the ISPConfig3 howto for Ubuntu 9.10 loubart HOWTO-Related Questions 9 2nd December 2009 16:58
ISPConfig3 with Virtual Users & Domains Wych General 2 1st November 2009 12:47
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 19:37
Virtual Users And Domains With Postfix, Courier And MySQL - SASLauthd problem qtx HOWTO-Related Questions 7 22nd May 2007 19:19
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 02:41


All times are GMT +2. The time now is 16:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.