Home » Linux OS and Software » How-To » Mail server Postfix
Thu, 13 August 2009 06:44 Go to next message
Registered: June 2009
Messages: 6
Hey guys

I've been going crazy for a few hours trying to fix my postfix server.

I have several domains pointing to my server and i only need 1 email redirect. So the redirect is a user on the system, so i just use a .forward to do the forward, and if i just do a telnet domain 25 and do the send mail manually to the recipient it is forwarded correctly but the server just does not seem to recieve mail what so ever!

I have no idea how to detect whats going wrong. my postfix config

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = localhost.localdomain localhost mail.animeequation.com mail.redbrain.co.uk mail.team-qcg.com mail.rendanmullan.com
myhostname = lambda.vpsf6b44386.com
mynetworks = 127.0.0.0/8
myorigin = animeequation.com #by default it is /etc/mailname which was redbrain.co.uk
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains = redbrain.co.uk team-qcg.com animeequation.com brendanmullan.com
virtual_alias_maps = hash:/etc/postfix/virtual
Thu, 13 August 2009 07:23 Go to previous messageGo to next message
Registered: June 2009
Messages: 6
So ok i've got a bit further the server is definetly recieving the mail now if i do:

tail -f the mail.log you ca watch it recieve the mail from any of the domains but it doesnt do anything:

ug 13 07:18:44 lambda postfix/master[27768]: daemon started -- version 2.5.5, configuration /etc/postfix
Aug 13 07:19:09 lambda postfix/smtpd[28424]: connect from mail-ew0-f206.google.com[209.85.219.206]
Aug 13 07:19:09 lambda postfix/smtpd[28424]: 60F6313B602F: client=mail-ew0-f206.google.com[209.85.219.206]
Aug 13 07:19:09 lambda postfix/cleanup[28470]: 60F6313B602F: message-id=<4A83F6AA.50206@googlemail.com>
Aug 13 07:19:09 lambda postfix/smtpd[28462]: connect from mail-ew0-f226.google.com[209.85.219.226]
Aug 13 07:19:09 lambda postfix/smtpd[28462]: 76D2A13B6030: client=mail-ew0-f226.google.com[209.85.219.226]
Aug 13 07:19:09 lambda postfix/cleanup[28471]: 76D2A13B6030: message-id=<4A83F6AA.50206@googlemail.com>
Aug 13 07:19:09 lambda postfix/qmgr[27770]: 60F6313B602F: from=<herron.philip@googlemail.com>, size=2468, nrcpt=1 (queue active)
Aug 13 07:19:09 lambda postfix/qmgr[27770]: 76D2A13B6030: from=<herron.philip@googlemail.com>, size=2458, nrcpt=1 (queue active)
Aug 13 07:19:09 lambda postfix/cleanup[28471]: B988913B6031: message-id=<4A83F6AA.50206@googlemail.com>
Aug 13 07:19:10 lambda postfix/qmgr[27770]: B988913B6031: from=<herron.philip@googlemail.com>, size=2608, nrcpt=1 (queue active)
Aug 13 07:19:10 lambda postfix/local[28474]: 76D2A13B6030: to=<redbrain@redbrain.co.uk>, orig_to=<me@redbrain.co.uk>, relay=local, delay=0.7, delays=0.29/0.01/0/0.41, dsn=2.0.0, status=sent (delivered to maildir)
Aug 13 07:19:10 lambda postfix/qmgr[27770]: 76D2A13B6030: removed
Aug 13 07:19:10 lambda postfix/local[28473]: 60F6313B602F: to=<kurru@redbrain.co.uk>, orig_to=<kurru@animeequation.com>, relay=local, delay=0.8, delays=0.38/0/0/0.41, dsn=2.0.0, status=sent (forwarded as B988913B6031)
Aug 13 07:19:10 lambda postfix/qmgr[27770]: 60F6313B602F: removed
Aug 13 07:19:17 lambda postfix/smtp[28477]: B988913B6031: to=<herron.philip@googlemail.com>, orig_to=<kurru@animeequation.com>, relay=gmail-smtp-in.l.google.com[209.85.211.27]:25, delay=7.9, delays=0.41/0/5.9/1.6, dsn=2.0.0, status=sent (250 2.0.0 OK 1250162357 35si276192ywh.16)
Aug 13 07:19:17 lambda postfix/qmgr[27770]: B988913B6031: removed
Aug 13 07:19:39 lambda postfix/smtpd[28462]: disconnect from mail-ew0-f226.google.com[209.85.219.226]
Aug 13 07:19:39 lambda postfix/smtpd[28424]: disconnect from mail-ew0-f206.google.com[209.85.219.206]



I have a virtual alias for the ones i want forwarded but it doesn seem to forward
Thu, 13 August 2009 07:49 Go to previous message
Registered: June 2009
Messages: 6
Ah i have it all fixed now!!!!!!!!!!

Sorry for dead post but the problem was google

http://mail.google.com/support/bin/answer.py?answer=6576
It was just i couldn't see the mails but they were there! Smile

Previous Topic:.htaccess .htpasswd
Next Topic:Post Install Suggestions for Ubuntu VPS
Goto Forum:
  


Current Time: Sat Dec 16 23:12:35 EST 2017
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2006 FUD Forum Bulletin Board Software