#1  
Old 25th March 2006, 21:47
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default Help Please !!!

Hi all

Just wanting to know what this means ???

Quote:
INFO
Acceptance of domain literals
WARNING: One or more of your mailservers does not accept mail in the domain literal format (user@[0.0.0.0]). Mailservers are technically required RFC1123 5.2.17 to accept mail to domain literals for any of its IP addresses. Not accepting domain literals can make it more difficult to test your mailserver, and can prevent you from receiving E-mail from people reporting problems with your mailserver. However, it is unlikely that any problems will occur if the domain literals are not accepted (mailservers at many common large domains have this problem).
mail.baktim.com's postmaster@[85.105.174.11] response:
>>> RCPT TO:<postmaster@[85.105.174.11]>
<<< 554 <postmaster@[85.105.174.11]>: Relay access denied
Also having a problem with postfix
I can send email to all the email accounts and i can use a client and connect to postfix and i can see all the respective emails in there directories but the email will not be viewed in a email client ie outlook and Evolution.

I even did what it says in this thread http://www.howtoforge.com/forums/showthread.php?t=2

but ti doesnt seem to make a diffference ???

if anyone can help this would be fantastic...

regards
brainz

Last edited by brainz; 26th March 2006 at 00:51.
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2006, 01:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

1) The info message means that your server does not accept emails for IP addresses. This is OK.

To your email receiving problem. Which pop3 / imap daemon do you use. If you use courier or dovecot you must switch your postfix config to use maildir.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th March 2006, 01:41
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi till,

Actually i think im using couier since dovecot will not start and it gives me a error like this... after i try and restart it...

Quote:
dovecot failed. The error was: Starting Dovecot Imap: [FAILED]
After doing a netstat -tap

i get...

Quote:
tcp 0 0 *:imaps *:* LISTEN 2347/xinetd
tcp 0 0 *op3s *:* LISTEN 2347/xinetd
tcp 0 0 *op3 *:* LISTEN 2347/xinetd
tcp 0 0 *:imap *:* LISTEN 2347/xinetd
tcp 0 0 *:smtp *:* LISTEN 7188/master
So if i understand this correctly you are telling to do this....

Quote:
To your email receiving problem. Which pop3 / imap daemon do you use. If you use courier or dovecot you must switch your postfix config to use maildir.
in my main.cf you want me to uncomment this

Quote:
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
home_mailbox = Maildir/
Then restart postfix /etc/init.d/postfix restart

I hope i understood you right till but i did change it and i tested the email and i still didnt recieved them back from the server ???

regards
Reply With Quote
  #4  
Old 26th March 2006, 11:58
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

From your netstat output I guess you're using ipopd which uses the mbox format, so please switch back from Maildir.

What's in the mail log when you send a message to yourself?
__________________
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
  #5  
Old 26th March 2006, 13:19
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi falko,

In response to this....

Quote:
From your netstat output I guess you're using ipopd which uses the mbox format, so please switch back from Maildir.
I guessing i have to recomment this ...

Quote:
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
home_mailbox = Maildir/
Then i cleared the existing maillog....
Then i sent a email to the mail account i have setup being

postmaster [a] baktim dot com

There are 3 other mail accounts but it fills the log and the log doesnt fit here so i only did it for one.

and the output of the mail log is this... Im sorry but its pritty long...

Quote:
log was here
sorry dont really want to many people or more importantly bots seeing the log.

regards
brainz

Last edited by brainz; 27th March 2006 at 12:44.
Reply With Quote
  #6  
Old 26th March 2006, 17:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

I think the correct setting will be to comment out both:

Code:
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
#home_mailbox = Maildir/
Then restart postfix and try again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 27th March 2006, 11:04
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi till,

Just a quick question !!!!

I wanted to find out if i use Dovecot for IMAP and POP3 do i need to use what specified in the How-to The Perfect Setup - Fedora Core 4.

Quote:
Postfix With SMTP-AUTH And TLS
apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix imap

postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' > /usr/lib/sasl2/smtpd.conf
echo 'mech_list: plain login' >> /usr/lib/sasl2/smtpd.conf

mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650

postconf -e 'smtpd_tls_auth_only = no'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
postconf -e 'smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key'
postconf -e 'smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt'
postconf -e 'smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem'
postconf -e 'smtpd_tls_loglevel = 1'
postconf -e 'smtpd_tls_received_header = yes'
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'
postconf -e 'tls_random_source = dev:/dev/urandom'

Now start Postfix, saslauthd, imap and pop3:
chkconfig --levels 235 sendmail off
chkconfig --levels 235 postfix on
chkconfig --levels 235 saslauthd on
chkconfig imap on
chkconfig imaps on
chkconfig ipop3 on
chkconfig pop3s on

/etc/init.d/sendmail stop
/etc/init.d/postfix start
/etc/init.d/saslauthd start
/etc/init.d/xinetd restart
and if i dont do i have to any of the steps here
Actually what im trying to say is if i use Dovecot do i have to use any of these steps ??
regards
brainz

Last edited by brainz; 27th March 2006 at 11:36.
Reply With Quote
  #8  
Old 27th March 2006, 15:13
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

If you want to use dovecot, you'd run

Code:
apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix dovecot
instead of

Code:
apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix imap
and

Code:
chkconfig --levels 235 dovecot on
instead of

Code:
chkconfig imap on
chkconfig imaps on
chkconfig ipop3 on
chkconfig pop3s on
The rest remains unchanged.
__________________
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
  #9  
Old 28th March 2006, 00:48
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
 
Default

Hi falko and till,

Well i just wanted to say it took me a little while to rebuild the whole server but the email works like a charm with dovecot and maildir. Even the server sends monitoring emails to postmaster letting me know some info with regards to the server.

Just though i would let you guys know and also wanted to let you know my appreciation for your help and also sometimes forcing me to help myself (i dont know if that made sense but anyway).... and i would say that the majority of the poeple that use this excellent site would agree with me....

Thanks again
regards
brainz

Last edited by brainz; 28th March 2006 at 00:57.
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 04:40.


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