All Questions
158
questions
0
votes
0
answers
34
views
Postfix Blocked by SELinux
Struggling getting Postfix to run properly on CentOS9, I have it working sending a mail when I call webpage that has the code for a hardcoded email test.
The issue is on a contact form on the website, ...
0
votes
0
answers
18
views
How to change the sender address using mailutils and postfix?
May 27 14:19:33 localhost postfix/qmgr[21793]: 87FD870AD12: from=user@localhost,
size=398, nrcpt=2 (queue active)
May 27 14:20:03 localhost postfix/smtp[22591]: connect to
mail.rungel.net[95.168.160....
0
votes
1
answer
263
views
Postfix doesn't send mail; example.com loops back to myself & Connection timed out
I have Postfix on Ubuntu 22.04. I can only receive but not send emails.
I have configured Postfix using How To Install and Configure Postfix on Ubuntu 22.04 tutorial from DigitalOcean.
sudo tail -f /...
0
votes
1
answer
88
views
Amanda backup software using postfix generates invalid sendmail command line option '-s'
I recently updated postfix on my CentOS 6 server to support a new email relay, and everything is working except my Amanda backup software, which is no longer sending status emails. When I run "...
2
votes
1
answer
264
views
Converting access file from sendmail to postfix
I'm looking to convert a two-decade-old highly-configured sendmail installation (currently running on AlmaLinux 9) into postfix. Among the conversions is adapting the existing /etc/mail/access file to ...
1
vote
1
answer
255
views
Wrap plain text mail in html
we use Postfix as MTA to send our mails from our system. Unfortunately we have an old persistent system which we cannot change, which sends mails to our customers in plain text format. I would like to ...
1
vote
1
answer
450
views
Audit log emails not going to the correct address
On Ubuntu 20, I'm trying to send audit logs to [email protected]. I do have a real domain and email server but I'm redacting them here. When I trigger an audit event, the email is instead sent ...
1
vote
0
answers
104
views
FROM address for system emails on Linux (Postfix)
I have an unbuntu server using sendmail and postfix to send apticron, cron etc emails.
postfix is configured to use a smart relay, the smart relay is rejecting emails as they come from the subdomain ...
1
vote
1
answer
250
views
OpenBSD 7.2: Mailbox file in users' home directory - use Postfix or stick to default sendmail?
I need to setup a mail server with a bit unusual requirements:
OpenBSD is a must. Probably latest version, 7.2.
All mails have to be stored in aa Mailbox file located in user's home directory.
Well, ...
0
votes
1
answer
246
views
wordpress on nginx on ubuntu server doesn't send mail
I want to send a mail with WordPress wp_mail function.
I've seen this topic:
Setup ubuntu server to send mail()
and I've installed postfix, after installing postfix I get a successful message when I ...
3
votes
1
answer
7k
views
Postfix - how to set a message ID?
I have multiple applications using one Postfix instance connecting through SMTP. Some clients set a message ID and some don't.
What I'm trying to do is to let Postfix set its own unique message ID, ...
0
votes
1
answer
139
views
Procmail autoresponse to a single sender (or few ones)
I've been looking some similar examples and slight changes to them to perform that but unsuccessfully.
This is the first recipe at $HOME/.procmailrc of the user "me".
Mail is received by ...
0
votes
0
answers
150
views
Force non-empty MAIL FROM for outgoing email
I am using postfix on a Debian server, primarily to send outgoing email for websites and notifications, and have run into an issue where outgoing email to a certain mailing list provider is rejected ...
0
votes
0
answers
1k
views
Mailcow - emails stuck in sending queue for localhost domain
I have mailcow installed using docker and runs very well in sending and receiving mails using the defined domain. I have no customization implemented or configured. BUT..
I have the following issue:
...
0
votes
0
answers
1k
views
Could not execute: /usr/sbin/sendmail fails to send emails via PHP
I have a strange error in my Centos 7.9 Server running with Postfix as the Sendmailer program, It has a Website running in PHP-7.4
I get the below error Once in a while (not everyday but weekly or so)
...
0
votes
1
answer
530
views
PHP mail() returning FALSE but whole rainloop works - Postfix, Dovecot, PHP 7.3
I had this problem earlier but somehow managed to repair it.
One month after I had to reinstall Dovecot and Postfix and the same error appeared.
In my php.ini which is located at /etc/php/7.3/apache2/ ...
0
votes
2
answers
650
views
mail works, but sendmail doesn't! (Postfix)
I installed postfix on a server and when I send an email with the sendmail command it doesn't get delivered, but when I send with the mail command it does get delivered. What's worse, postfix logs ...
3
votes
1
answer
654
views
sendmail (or postfix) is always failing with Helo command rejected
On digitalOcean this tutorial points to installing postfix. I've attempted this and also uninstalling postfix then installing sendmail
When a test mail is sent, invariably there is an error in ...
0
votes
0
answers
171
views
macOS - sendmail - postfix messages
My app is attempting to use sendmail to send an email message. I can see the email's sitting in /var/spool/postfix/maildropbut for some reason which I need help figuring out, the postfix pickup ...
0
votes
0
answers
134
views
Configure Postfix to prevent improper mail forwarding/duplication
I'm trying to reconfigure my Postfix mail server to stop it from improperly relaying mail to addresses that are listed as recipients but don't have my server's domain.
Say my mail server's domain is ...
6
votes
1
answer
2k
views
No DKIM headers in sent mails from postfix
I have two postfix, one for receiving mails and the other for sending mails, and I am having trouble signing dkim on my outgoing mails. I followed this tutorial.
Logs also is not helping me point to ...
0
votes
1
answer
1k
views
Stop cron jobs from sending emails as root but allow sendmail to work
I've recently got Postfix working as a send only MTA relaying through Google Workspace (formerly Google G Suite). I would now like to send emails after completed cron jobs to my personal email. The ...
0
votes
1
answer
4k
views
Messages from [IP address] temporarily deferred due to user complaints
I have spent a solid 2 or 3 weeks following tutorials and going through trial and error trying to set up my own mail server using Postfix and Dovecot on Ubuntu 18.04. I finally have SPF/DKIM/DMARC ...
0
votes
1
answer
475
views
SMTP server not sending DSN
Is the outgoing smtp server expected to notify sender of failure in upstream transfer giving this scenario?:
User A tries to send email message via his Outgoing SMTP (A-SMTP) server to recipient B.
...
0
votes
0
answers
48
views
Enable fail2ban to send out emails without installing too much extra software (like postfix) [duplicate]
I need fail2ban to send out email notifications to myself. It runs on a Debian 10 minimal install
All of the tutorials I found simply install the full email packages like Postfix or Sendmail, and ...
0
votes
1
answer
231
views
How can I configure postfix so all e-mails from php mail will also be scanned with spamassassin?
I see a bunch of articles about how to scan mail in postfix from a certain IP address in the network or via submission, etc. But I think php mail uses sendmail and to inject the mail locally.
What ...
0
votes
1
answer
1k
views
Postfix sends plain text emails from PHP but rejects html
After moving to another host my site stopped sending E-mails (UTF-8 HTML). But I'm still able to send text emails like these:
echo test | mail -t [email protected] -s test
php -r 'mail("[email protected]",...
0
votes
2
answers
3k
views
CentOS 7 fresh installation having trouble sending emails to gmail
I have just setup a small VPS on Vultr.com using CentOS 7 to serve a few Wordpress sites.
Apart from Nginx and PHP the server is completely fresh.
The Wordpress setup went fine except when trying to ...
2
votes
1
answer
453
views
Translating sendmail "MASQUERADE_AS" to postfix?
Attempting to update an old server application (Sympa) to a newer OS. Fun.
This includes related services (Sendmail to Postfix). More Fun.
Going through the sendmail.mc, we have
MASQUERADE_AS(`...
2
votes
1
answer
6k
views
E-mail configurations for postfix/sendmail on AWS EC2 and SMTP services
I'm new to AWS. We are migrating Joomla websites hosted on a VPS at Hostgator to AWS EC2 running Red Hat. It needs mail services for sending and receiving.
I can install postfix and sendmail, but it ...
0
votes
1
answer
230
views
Cron output emails created with delay
One of our users has a daily cron job which runs for 24 hours. The output is emailed to the user in the usual way. Because the output is piped into sendmail (postfix) over 24 hours, it appears in the ...
-1
votes
2
answers
3k
views
sendmail send Authentication-Warning
Dears,
I receive successful message from postfix/pip in Centos7 (delivered via spamassassin service) while it doesn't deliver email to user with sendmail Authentication warning log. you can find log ...
0
votes
1
answer
5k
views
550 No RDNS entry for my ip (in reply to RCPT TO command)
Some recipients are making RDNS verification to my mail server and being refused.
I have a CentOS VPS with my website and mail server for my business.
Is there anything wrong here? I can provice my ...
1
vote
2
answers
2k
views
I stopped sendmail service and started postfix. Sendmail still shows in email logs?
This server has both sendmail and postfix installed. Sendmail has been running but is not working properly. I stopped the sendmail service and started postfix.
Confirmed only postfix is running by ...
0
votes
2
answers
328
views
(Sendmail) Is possible to change the received email path?
Sendmail is the easiest mail system around but i've a specific need i'm not able to manage atm.
i'm using a software (that use the maildir structure) and i would like to move all received email in ...
3
votes
1
answer
791
views
Hosting multiple websites (Apache Virtual Hosts), Postfix settings for sending mail FROM those domains?
I am not sure that this was the right solution in the first place but I have Postfix up and running on my Ubuntu VPS with G-Suite using
relayhost = [smtp.gmail.com]:587
Mail is delivering fine, ...
3
votes
2
answers
1k
views
Can sendmail forward e-mail immediately instead of queueing?
Some of the e-mail passing through my server is forwarded to external accounts.
Unfortunately, my upstream SMTP-server is very picky about spam -- and rejects some of the legitimate messages as such. ...
1
vote
1
answer
1k
views
How to setup a Ubuntu mail server that accepts any emails from *@*.ca and forwards them to an external email address?
I'm trying to setup a small Ubuntu server that would accept basically any emails and would forward all of them to the email address of my choice.
I did some research and I think it would be possible ...
0
votes
1
answer
653
views
my mails from postfix are going to spam [duplicate]
i know this question has been already asked. but my problem is so wierd.
i have done everything needed to be done for avoiding spam, but my mails are still going to spam folder.
my mail-tester.com ...
0
votes
1
answer
585
views
Centos 6 Email Server email not receiving but can send
well iam new to setting up mail server in my vps and this strange issue comes up.
I have domain and setup mx records in domain registry. but i cannot receive email in my server but can send email ...
1
vote
1
answer
381
views
Receiving mails with incomplete body
I have a smart host with Getmail+Sendmail+Postfix+Dovecot connected with a remote server. This smart host only works for one domain. Postfix is used to send mails within this domain and for outside ...
1
vote
0
answers
133
views
Linux Centos Sendmail only sending to 20 recipients
When sending emails from my centos server the 20th email address in the list is being cutoff and then not including any email addresses after that one. The 20th email address has some of the ...
0
votes
2
answers
879
views
Postfix won't start cause port 25 is busy by sendmail, can't uninstall sendmail
Something weird:
I get this error sending an email:
fatal: bind 127.0.0.1 port 25: Address already in use
So I check and sendmail is running:
sudo netstat -lnp |grep :25
tcp 0 0 127.0....
1
vote
2
answers
1k
views
How to add SPF1 record properly on GoDaddy
I setup postfix and mailx (Fedora25) for sending mail through a contact form on my website, and I am looking to add SPF1 and DKIM signature for increase my validity, but I'm having a hard time sorting ...
3
votes
1
answer
2k
views
Nothing happens when sending a mail with (command line) sendmail
I want to set a mail server that can send mail with sendmail. Here is what I have done exactly
service postfix start
sendmail < mymail
where mymail contains
to:[email protected]
from:[email protected]
...
0
votes
1
answer
1k
views
Delivery error command sendmail through Getmail
I am trying to receive mail with getmail and reroute it through sendmail to postfix.
I have managed to connect with my external mail server, but it fails when send those mails from getmail to postfix....
2
votes
0
answers
449
views
How to stop mails to nobody? and is it a good idea?
I noticed I ran out of space for the root partition on my server. then after checking what's taking huge size. I found that /var/mail/nobody taking 1.4GB. how to stop postfix from using that much ...
0
votes
0
answers
263
views
Email users migration from Redhat's Sendmail to Centos Postfix/Dovecot
I am using sendmail in Redhat linux where mail stored in /var/spool/mail. I migrated all the email users related files to Centos where i have configured postfix/dovecot with the help of the following ...
1
vote
2
answers
882
views
Find out exactly what (which php script) is trying to send spam from server
Last night my server was compromised (I guess - one of outdated PHP CMS's) and many spam messages were sent.
I have restricted access to Postfix (via authorized_submit_users directive in main.cf) ...
2
votes
2
answers
2k
views
linux: forward mail in mailbox
Is it possible to forward mail out of a mailbox to another mailbox? I know about .forward, that's not what I want to do(seems like that's 100% of the answers out there). I already have mail in a ...