
25th March 2006, 20:47
|
|
Senior Member
|
|
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
|
|
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; 25th March 2006 at 23:51.
|

26th March 2006, 00:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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.
|

26th March 2006, 00:41
|
|
Senior Member
|
|
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
|
|
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 
|

26th March 2006, 10:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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?
|

26th March 2006, 12:19
|
|
Senior Member
|
|
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
|
|
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...
sorry dont really want to many people or more importantly bots seeing the log.
regards
brainz 
Last edited by brainz; 27th March 2006 at 11:44.
|

26th March 2006, 16:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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.
|

27th March 2006, 10:04
|
|
Senior Member
|
|
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
|
|
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 10:36.
|

27th March 2006, 14:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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.
|

27th March 2006, 23:48
|
|
Senior Member
|
|
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
|
|
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; 27th March 2006 at 23:57.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 03:04.
|
Recent comments
1 day 4 hours ago
1 day 7 hours ago
1 day 19 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 8 hours ago
2 days 17 hours ago
2 days 19 hours ago
3 days 3 hours ago
3 days 5 hours ago