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
  #11  
Old 30th August 2006, 20:51
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

No problem brother.
Reply With Quote
Sponsored Links
  #12  
Old 19th September 2006, 18:03
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Default same problem

Hi all,

I'm having the same problem. Alltel is returning mail with "550 relaying not allowed". I had this working on a previous server, but have disconnected that server and I'm currently in another state so I can't plug it back up and find out what the differences are. Below is my main.cf file;

================================================

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = server3.helpconsulting.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server3.helpconsulting.net, localhost.helpconsulting.net, , lo$
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reje$
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
relayhost=mail.alltel.net
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
=============================================

I did the postmap /etc/postfix/sasl_passwd and also made sure the file had the right permissions user/grp and then restarted postfix.

I can't for the life of me remember what I did to get this working before... does anyone have any further suggestions?

Thanks,
Ken

Last edited by KenKnight; 19th September 2006 at 20:07.
Reply With Quote
  #13  
Old 19th September 2006, 23:37
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Is alltel.net your isp and is mail.alltel.net the smtp server?

I noticed that in your line for relayhost, you have relayhost=mail.alltel.net. Change that to relayhost = mail.alltel.net then restart postfix. If that doesn't fix the problem, try the following.

Make sure you back up your /etc/postfix/main.cf file before attempting this.

This is the SMTP-AUTH clear text method:

Postfix needs to know how to behave as a SASL client. Add the following lines anywhere you'd like in your /etc/postfix/main.cf

relayhost = mail.alltel.net
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

If you already have those lines, then you're set, if not, add them. Make sure you don't have any duplicates.

Create a file called /etc/postfix/sasl_passwd and add the following, using the syntax provided:

host idw

The host portion above must match what you used in the "relayhost" line in main.cf. Something as follows:

mail.alltel.net myid:mypw (your userid and password)

Save the file.

Hash the file.
[root@linux.com] postmap /etc/postfix/sasl_passwd

Restart postfix
[root@linux.com] /etc/init.d/postfix restart

Last edited by Rocky; 20th September 2006 at 04:36.
Reply With Quote
  #14  
Old 20th September 2006, 00:54
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
 
Default

thanks for the reponse. Yes that is exactly what I have and have tried.

Still no luck

[UPDATE] - Got it going. I needed the smtp_sasl_security_options to have "noanonymous" in it.

Thanks,
Ken

Last edited by KenKnight; 20th September 2006 at 04:58.
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
Running Joombla CMS on Debian Sarge 3.1 with ISPConfig Hans Installation/Configuration 6 13th March 2006 18:00
Debian Sarge, ISPConfig, perfect setup followed, email can't login! Zoon Installation/Configuration 3 12th February 2006 20:58
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42
ISPConfig setup error with Debian Sarge Rocky Installation/Configuration 13 11th November 2005 00:47
Problems installing ISPConfig Debian Sarge hschel Server Operation 4 22nd August 2005 19:46


All times are GMT +2. The time now is 18:11.


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