Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using Postfix (MTA), Dovecot, & Spamassassin on my Debian email server.
I can receive email all day long no problem. I can log in as any user on the mail server in CLI and use the mail foo@foo.com command to send email fine. They other person gets the message. I then login to web mail and send email using Squirrelmail and it works.
Now when I load Thunderbird, I get email fine however when I send email, I get a error that says:
"The mail server responded 5.7.1.
<destination@domain.com>: Relay Access denied. Please check messg. recipients and try again."
I turned off Spamassassin and reloaded Postfix and Dovecot and nothing works. I only have this error sending in an email client set up for IMAP. Webmail and sending direct email from the server are no problems.
I checked /var/log/mail.err
Code:
swordfish:~# cat /var/log/mail.err
Jan 20 15:57:32 swordfish postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Jan 20 22:21:46 swordfish spamc[6513]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Jan 20 22:21:47 swordfish spamc[6513]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Jan 20 22:21:48 swordfish spamc[6513]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Jan 20 22:21:49 swordfish spamc[6513]: connection attempt to spamd aborted after 3 retries
That makes no sense to me. If I can send via Postfix and I can send via Webmail from the same network, why would my ISP then require me to use their outgoing server when using a email client like Thunderbird or Evolution. I would assume this is a IMAP error or something related to Dovecot or I would have the same error all around...no?
When you fire up Evolution, is it on the same machine or over the network? Sounds to me like Postfix is accepting mail from localhost but not from the network.
The email server is on my DMZ (192.168.3.x) & the machine I try and send email from is my green LAN (192.168.1.x). I will check mynetworks however nothing on main.cf has changed and it worked before...
I added SA (Spamassassin) however I stopped that service and removed the two entries it had me add in master.cf and reloaded postfix = still not working. Beyond that nothing. I just feel it has to be Dovecot because if Squirrelmail and POSTFIX let me send outbound email however when I use a client setup for IMAP, I get the error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.