10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have a problem remotely connecting to the postfix. It sais "Connection refused".
# telnet 104.200.16.232 25
Trying 104.200.16.232...
telnet: connect to address 104.200.16.232: Connection refused
But the postfix is started and running.
# telnet 127.0.0.1 25
Trying... (3 Replies)
Discussion started by: galford
3 Replies
2. UNIX for Dummies Questions & Answers
hi guys
i have a problem with postfix
i can't send any mail to yahoo clients but i cant receive email from yahoo clients
Feb 20 11:46:35 cp postfix/qmgr: 83F658003B: from=<ZZZ@XXX.org>, size=508, nrcpt=1 (queue active)
Feb 20 11:46:35 cp postfix/smtp: 83F658003B: to=<ZZZ@yahoo.com>,... (1 Reply)
Discussion started by: mhs
1 Replies
3. Red Hat
hello all,
If i send mails using postfix,the mails stored in queue,not delivered to required recipient...can anyone please tell me the solution for this problem... (4 Replies)
Discussion started by: tilakraj
4 Replies
4. UNIX for Dummies Questions & Answers
Hi guys
One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered.
What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
5. IP Networking
Hi I have a Postfix mail server in a Debian Linux network and used to be able to connect to it on port 25 via telnet. I also have working DNS on the server.
I added this MX record to the DNS zone file:
@ IN MX 10 server.c4.sysinst.ida.liu.se.
It worked fine after that also but then... (3 Replies)
Discussion started by: jakethecake
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I have a postfix server that relays to an exchange server. All of my unix/linux systems send to this server, the problem is the form the mail is sent with,
the sender address is
username@hostname.domain.local
I need to rewrite every sender address to
unix@maildomain.com
for... (0 Replies)
Discussion started by: funksen
0 Replies
7. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies
8. UNIX for Advanced & Expert Users
Hello,
We have Linux post server with Postfix running on it and 5 domains.
Everything is working fine, except one thing. I was wondering how can I force user X to be able to send email ONLY as X@domain1.com, but NOT as X@domain2.com for example. I.e. how can I create map user --> email , and... (0 Replies)
Discussion started by: +Yan
0 Replies
9. UNIX for Advanced & Expert Users
Hi,
I've Postfix 2.5.1 mail server on Ubuntu 8.04. Recently, I got a new SMTP relay service to send out my mails. But for some reason every time I try to send mail I get this error:
(host relay.somehost.com said: 550 5.7.1 <testmail@hotmail.com>... Relaying denied. Proper authentication... (10 Replies)
Discussion started by: nitin
10 Replies
10. Red Hat
We have a redhat linux el4 and used as a mail server.We configured postfix.all r working fine.we got a problem for a particular user when he tries to open his mailbox and the error is mentioned below:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Internal error... (3 Replies)
Discussion started by: ramjimh2k3
3 Replies
Postfix::Parse::Mailq(3pm) User Contributed Perl Documentation Postfix::Parse::Mailq(3pm)
NAME
Postfix::Parse::Mailq - parse the output of the postfix mailq command
VERSION
version 1.001
SYNOPSIS
use Postfix::Parse::Mailq;
my $mailq_output = `mailq`;
my $entries = Postfix::Parse::Mailq->read_string($mailq_output);
my $bytes = 0;
for my $entry (@$entries) {
next unless grep { /@aol.com$/ } @{ $entry->{remaining_rcpts} };
$bytes += $entry->{size};
}
print "$bytes bytes remain to send to AOL destinations
";
WARNING
This code is really rough and the interface will change. Entries will be objects. There will be some more methods. Still, the basics are
likely to keep working, or keep pretty close to what you see here now.
METHODS
read_file
read_handle
read_string
my $entries = Postfix::Parse::Mailq->read_string($string, \%arg);
This methods read the output of postfix's mailq from a file (by name), a filehandle, or a string, respectively. They return an arrayref of
hashrefs, each hashref representing one entry in the queue as reported by mailq.
Valid arguments are:
spool - a hashref of { queue_id -> spool_name } pairs
if given, this will be used to attempt to indicate in which
spool messages currently are; it is not entirely reliable (race!)
parse_block
my $entry = Mailq->parse_block(@lines);
Given all the lines in a single entry's block of lines in mailq output, this returns data about the entry.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
perl v5.10.1 2008-10-23 Postfix::Parse::Mailq(3pm)