Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

qmail forwarding (.qmail) not working

Status
Not open for further replies.

bitwise

Programmer
Mar 15, 2001
269
US
If I create a .qmail file in my home directory with a new address to forward email to in the form:

user@newaddress.com

The messages will just hang in the queue and never forward unto the new address in the .qmail file. I'm using /var/mail and procmail as my mailbox. Everything else in my qmail setup seems to work great. Aliases, sending, and receiving, etc. but for some reason messages being forwarded just hand in the queue. qmail-qread outputs that the message came in and where it should be forwarded to; however, it just never actually leaves the queue. A qmail-tcpok doesn't solve the problem either. Anyone have any thoughts?

Thanks,
-bitwise
 
Does this have anything to do with RELAYING? I'm not sure I fully understand that exactly. I'm using tcprules with my /etc/tcp.smtp file for relaying. It contains:

127.:allow,RELAYCLIENT=""

That is for relaying on the localhost. Does something else need to be added for forwarding?

-bitwse

 
Your .qmail file has to be in this format:

Code:
.qmail-user

Then inside the file:

Code:
user@newaddress.com

I hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top