Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th July 2006, 21:49
Yves Yves is offline
Junior Member
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Autoresponder / Local Username / Reject / Bounce

Hi,

I'm using the current stable release off ISPconfig - great tool!
Today a user reported an issue with the autoresponder.

User mail@foreignhost.tld sends an email to ispconfig-user@ispconfighost.tld.

mail@foreignhost.tld => ispconfig-user@ispconfighost.tld

The ispconfig-user has autoresponder activated and represents the local user usr4_test

ispconfig-user@ispconfighost.tld
+ usr4_test
+ autoresponder enabled
+ POP3/IMAP/SMTP works fine


Instead of successfully delivering the autoresponder-message to mail@foreignhost.tld, the ispconfig-host is rejected by foreignhost.tld because of its sendername.

Let's see the Diagnostic-Code:

Code:
Diagnostic-Code: X-Postfix; host dsxx-xx-xxx-xxx.domain.tld[xx-xx-xxx-xxx]
    said: 504 <usr_4test@localhost>: Sender address rejected: need
    fully-qualified address (in reply to RCPT TO command)

It's easy to figure out the issue – the recipient's mailserver rejects mails from sender which domains it couldn't resolve.
Postfix acts like this by adding the following lines to main.cf

Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,
    permit_mynetworks,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject_unauth_destination,
So…

I think this problem could be solved, if the autoresponder uses an email-alias instead of its local-username.

Is there a patch anywhere? Or does my installation misbehave?

Regards from Germany,

Yves
Reply With Quote
Sponsored Links
  #2  
Old 11th July 2006, 15:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Do you have entries for myhostname and/or mydomain in /etc/postfix/main.cf? What's the output of
Code:
hostname
and
Code:
hostname -f
?
__________________
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
  #3  
Old 12th July 2006, 13:48
Yves Yves is offline
Junior Member
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hostname
hostname -f

both put out the correct hostname (ds11-22-33-44)

The main.cf has the following interesting values:

myhostname = ds11-22-33-44.domain.tld
myorigin = localhost
virtual_alias_domains = ds11-22-33-44.domain.tld
Reply With Quote
  #4  
Old 12th July 2006, 13:58
Yves Yves is offline
Junior Member
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Solved

Hi,

solved. The problem was in /etc/hosts where I had to add the hostname to the line which referred to 127.0.0.1 localhost.

Thx,

Yves
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


All times are GMT +2. The time now is 02:32.


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