LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-15-2006, 06:00 PM   #1
irishred
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Postfix Alias Problem


Hi,

I am having problems getting postfix to work properly. This is my first time to run postfix, I've been running sendmail for years though.

I can send mail directly from the localhost out to an external(gmail.com) address, and I can receive messages from an external(gmail.com) server to users on the localhost. I can also send mail to an alias from the localhost and receive the message at the aliased external(gmail.com) address.

My problem is that I can't send mail from an external(gmail.com) address to an alias on the localhost. Postfix acts like it is sending the message however it is never received at the external(gmail.com) address.

I am on a very large university network. apache1 is the server in question. Any ideas would be greatly appeciated. Thanks


Below is my postfix config and the log of a message that was never received

alias_maps = hash:/etc/postfix/aliases,hash:/home/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = nobody
home_mailbox = Maildir/
html_directory = no
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = class
newaliases_path = /usr/sbin/newaliases
readme_directory = /usr/share/doc/postfix-2.1.6
recipient_delimiter = +
relay_domains = $mydomain
sample_directory = /usr/share/doc/postfix-2.1.6/conf
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Trustix)
soft_bounce = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550


Dec 15 16:50:43 apache1 postfix/smtpd[4378]: 5936F20066: client=smtp.xxx.edu[xxx.xxx.xxx.xxx]
Dec 15 16:50:43 apache1 postfix/cleanup[4386]: 5936F20066: message-id=<5f38cd820612151451t7e50aa10mf47907783610b9dc@mail.gmail.com>
Dec 15 16:50:43 apache1 postfix/smtpd[4378]: disconnect from smtp.xxx.edu[xxx.xxx.xxx.xxx]
Dec 15 16:50:43 apache1 postfix/qmgr[4291]: 5936F20066: from=<me@gmail.com>, size=2061, nrcpt=1 (queue active)
Dec 15 16:50:43 apache1 postfix/cleanup[4386]: 5BED720067: message-id=<5f38cd820612151451t7e50aa10mf47907783610b9dc@mail.gmail.com>
Dec 15 16:50:43 apache1 postfix/local[4387]: 5936F20066: to=<alias@apache1.xxx.edu>, relay=local, delay=0, status=sent (forwarded as 5BED720067)
Dec 15 16:50:43 apache1 postfix/qmgr[4291]: 5BED720067: from=<me@gmail.com>, size=2199, nrcpt=1 (queue active)
Dec 15 16:50:43 apache1 postfix/qmgr[4291]: 5936F20066: removed
Dec 15 16:50:43 apache1 postfix/smtp[4388]: 5BED720067: to=<me@gmail.com>, orig_to=<alias@apache1.xxx.edu>, relay=smtp.xxx.edu[xxx.xxx.xxx.xxx], delay=0, status=sent (250 Ok: queued as 97CA3C76CF)
Dec 15 16:50:43 apache1 postfix/qmgr[4291]: 5BED720067: removed
 
Old 12-15-2006, 07:08 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
smtp.xxx.edu claims it accepted the message and queued it with message ID 97CA3C76CF.

What is the output of
Code:
# postqueue -p
on smtp.xxx.edu?
 
Old 12-16-2006, 03:31 AM   #3
irishred
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Mail queue is empty
 
Old 01-16-2007, 03:12 PM   #4
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
Irishred,

Did you get this problem resolved?

I'm having the same (or a similar) issue!

Matt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix local catch-all alias cdhgee Linux - Software 2 06-30-2006 04:02 AM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 01:40 AM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
Postfix: restrict delivery of mail to users in alias table noeffred Linux - Software 1 02-02-2005 05:05 PM
Mysql - Postfix alias domain paulten Linux - Networking 0 11-03-2003 05:05 PM


All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration